<template>
  <div class="home">
      <lineChart :title="title" :xArr="xArr" :series="series"></lineChart>
      <pie-chart> </pie-chart>
  </div>
</template>
<script>

import lineChart  from '@/components/charts/lineChart.vue'
export default {
  name: 'Home',
  data(){
    return {
      title:"告警人员",
      xArr:["1","2","3","4","5","6","7","8","9","10"],
      series:[{
        name:"王者荣耀",
        data:[56,34,34,56,67,234,23,12,32,57],
        },
        {
          name:"英雄联盟",
          data:[10,20,30,40,50,60,70,80,90,100]
        },
      ]
    }
  },
  components:{lineChart}
}
</script>
